﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace V5_Model
{
    public class ModelProduct
    {
        #region Model
        private int _id;
        private int  _channelid;
        private int  _classid;
        private string _productname;
        private string _productkeyswords;
        private string _productcode;
        private string _productbrand;
        private string _productunit;
        private string _productweight;
        private string _productmarketprice;
        private string _productmemberprice;
        private string _productminprice;
        private string _productbigpic;
        private string _productsmallpic;
        private string _productmorepic;
        private int  _productcount;
        private int  _productfieldtype;
        private string _productfields;
        private string _productsinglefields;
        private string _productsizetable;
        private int  _ispassed;
        private int  _isonsale;
        private int  _isrecommond;
        private int  _isonhot;
        private int  _isnew;
        private int  _isspecialoffer;
        private int  _package;
        private string _shortcontent;
        private string _content;
        private string _productrelated;
        private int  _hits;
        private DateTime  _adddatetime;
        private DateTime  _updatetime;
        private string _xjids;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int  ChannelID
        {
            set { _channelid = value; }
            get { return _channelid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int  ClassID
        {
            set { _classid = value; }
            get { return _classid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProductName
        {
            set { _productname = value; }
            get { return _productname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProductKeysWords
        {
            set { _productkeyswords = value; }
            get { return _productkeyswords; }
        }
        /// <summary>
        /// 产品代码
        /// </summary>
        public string ProductCode
        {
            set { _productcode = value; }
            get { return _productcode; }
        }
        /// <summary>
        /// 产品品牌
        /// </summary>
        public string ProductBrand
        {
            set { _productbrand = value; }
            get { return _productbrand; }
        }
        /// <summary>
        /// 产品单位
        /// </summary>
        public string ProductUnit
        {
            set { _productunit = value; }
            get { return _productunit; }
        }
        /// <summary>
        /// 产品重量
        /// </summary>
        public string ProductWeight
        {
            set { _productweight = value; }
            get { return _productweight; }
        }
        /// <summary>
        /// 市场价格
        /// </summary>
        public string ProductMarketPrice
        {
            set { _productmarketprice = value; }
            get { return _productmarketprice; }
        }
        /// <summary>
        /// 会员价格
        /// </summary>
        public string ProductMemberPrice
        {
            set { _productmemberprice = value; }
            get { return _productmemberprice; }
        }
        /// <summary>
        /// 产品最小购买价格
        /// </summary>
        public string ProductMinPrice
        {
            set { _productminprice = value; }
            get { return _productminprice; }
        }
        /// <summary>
        /// 产品图片
        /// </summary>
        public string ProductBigPic
        {
            set { _productbigpic = value; }
            get { return _productbigpic; }
        }
        /// <summary>
        /// 产品小图
        /// </summary>
        public string ProductSmallPic
        {
            set { _productsmallpic = value; }
            get { return _productsmallpic; }
        }
        /// <summary>
        /// 更多图片
        /// </summary>
        public string ProductMorePic
        {
            set { _productmorepic = value; }
            get { return _productmorepic; }
        }
        /// <summary>
        /// 产品个数
        /// </summary>
        public int  ProductCount
        {
            set { _productcount = value; }
            get { return _productcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int  ProductFieldType
        {
            set { _productfieldtype = value; }
            get { return _productfieldtype; }
        }
        /// <summary>
        /// 产品属性
        /// </summary>
        public string ProductFields
        {
            set { _productfields = value; }
            get { return _productfields; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProductSingleFields
        {
            set { _productsinglefields = value; }
            get { return _productsinglefields; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProductSizeTable
        {
            set { _productsizetable = value; }
            get { return _productsizetable; }
        }
        /// <summary>
        /// 通过
        /// </summary>
        public int  IsPassed
        {
            set { _ispassed = value; }
            get { return _ispassed; }
        }
        /// <summary>
        /// 上架
        /// </summary>
        public int  IsOnSale
        {
            set { _isonsale = value; }
            get { return _isonsale; }
        }
        /// <summary>
        /// 推荐
        /// </summary>
        public int  IsRecommond
        {
            set { _isrecommond = value; }
            get { return _isrecommond; }
        }
        /// <summary>
        /// 热点
        /// </summary>
        public int  IsOnHot
        {
            set { _isonhot = value; }
            get { return _isonhot; }
        }
        /// <summary>
        /// 新品
        /// </summary>
        public int  IsNew
        {
            set { _isnew = value; }
            get { return _isnew; }
        }
        /// <summary>
        /// 特价
        /// </summary>
        public int  IsSpecialOffer
        {
            set { _isspecialoffer = value; }
            get { return _isspecialoffer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int  Package
        {
            set { _package = value; }
            get { return _package; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ShortContent
        {
            set { _shortcontent = value; }
            get { return _shortcontent; }
        }
        /// <summary>
        /// 产品详细
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProductRelated
        {
            set { _productrelated = value; }
            get { return _productrelated; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int  Hits
        {
            set { _hits = value; }
            get { return _hits; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime  AddDateTime
        {
            set { _adddatetime = value; }
            get { return _adddatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime  UpDateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string XjIDs
        {
            set { _xjids = value; }
            get { return _xjids; }
        }
        #endregion Model

        private DataTable _choicetable;

        public DataTable Choicetable
        {
            get { return _choicetable; }
            set { _choicetable = value; }
        }
    }
}
